<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<?xml version="1.0" charset="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">

<html>
  <head>
    <title>Detalle de Documento</title>
  </head>
  <body>
    
    <u>Detalle de Documento</u><br/>
    <font size="2"><i>${sessionScope.customer.name}[${sessionScope.customer.id}]</i></font>
    <table border="1">
      <tr>
        <td>Tipo</td>
        <td>${requestScope.invoice.type}</td>
      </tr>
      <tr>
        <td>Numero Doc.</td>
        <td>${requestScope.invoice.number}</td>
      </tr>
      <tr>
        <td>Saldo</td>
        <td><fmt:formatNumber value="${requestScope.invoice.balance}" pattern="#,##0.00"/></td>
      </tr>
      <tr>
        <td>Monto Factura</td>
        <td><fmt:formatNumber value="${requestScope.invoice.amount}" pattern="#,##0.00"/></td>
      </tr>
      <tr>
        <td>N/C Devolucion</td>
        <td><fmt:formatNumber value="${requestScope.invoice.amount2}" pattern="#,##0.00"/></td>
      </tr>
      <tr>
        <td>Mto.Grav.Ajustado</td>
        <td><fmt:formatNumber value="${requestScope.invoice.amount3}" pattern="#,##0.00"/></td>
      </tr>
      <tr>
        <td>IVA Neto Fact</td>
        <td><fmt:formatNumber value="${requestScope.invoice.amount4}" pattern="#,##0.00"/></td>
      </tr>
      <tr>
        <td>N/C Aplicada</td>
        <td><fmt:formatNumber value="${requestScope.invoice.amount5}" pattern="#,##0.00"/></td>
      </tr>
      <tr>
        <td>IVA N/C Aplicada</td>
        <td><fmt:formatNumber value="${requestScope.invoice.amount6}" pattern="#,##0.00"/></td>
      </tr>
      <tr>
        <td>N/C Dcto.Financiero</td>
        <td><fmt:formatNumber value="${requestScope.invoice.amount7}" pattern="#,##0.00"/></td>
      </tr>
      <tr>
        <td>IVA N/C Dcto.Financiero</td>
        <td><fmt:formatNumber value="${requestScope.invoice.amount8}" pattern="#,##0.00"/></td>
      </tr>
      <tr>
        <td>IVA Neto General</td>
        <td><fmt:formatNumber value="${requestScope.invoice.amount9}" pattern="#,##0.00"/></td>
      </tr>
      <tr>
        <td>Retencion IVA</td>
        <td><fmt:formatNumber value="${requestScope.invoice.amount10}" pattern="#,##0.00"/></td>
      </tr>
      <tr>
        <td>Abonos</td>
        <td><fmt:formatNumber value="${requestScope.invoice.amount11}" pattern="#,##0.00"/></td>
      </tr>
      <tr>
        <td>Dias Vencim.</td>
        <td>${requestScope.invoice.expirationDays}</td>
      </tr>
    </table>
    <br/>
    <a href="OrderServlet?action=showHome">Volver</a>
  </body>
</html>
